<div ng-if="pagedata.isshowarea!=1" class="fui-page page-merch-list">
    <div class="fui-content" style="bottom: 2.4rem">
		<div class="fui-cell-group" style="background:none">
				<div class="fui-cell" style="padding:0 0.5rem">
					<div class="fui-cell-label" ng-click="pagedata.isshowarea=1;">
						<span style="font-size:0.75rem">{{pagedata.pcd.city || '全国'}}</span>
						<i class="icon jinyunicon icon-moreunfold"></i>
					</div>
					<div class="fui-cell-info search-input">
						<i id="searchsub" class="fa fa-search" ng-click="pagedata.getlist()"></i>
						<input type="search" placeholder="输入关键字..." class="search" style="border-radius: 1rem;background-color:#fff" ng-model="pagedata.params.keyword">
					</div>
				</div>
		</div>
		<div class="weui_cells" style="margin:2%">
			<div class="weui_cell" id="r-result" ng-repeat="item in pagedata.history">
				<div class="weui_cell_hd icon jinyunicon icon-ditu"></div>
				<div class="weui_cell_bd weui_cell_primary"  ng-click="">
					<span style="float:left;width:100%;">{{item.address}}</span>
					<span style="float:left;font-size:0.55rem;color:#646464">{{item.pcd}}</span>
				</div>
			</div>
		</div>
		<div class="radius" style="padding:0 0.5rem;">
        <div id="carousel-container" ng-if="pagedata.storeset.hdps.length>0" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div class="carousel-inner" role="listbox radius" style="height:7rem">
				<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.storeset.hdps">
					<a href="#">
						<img ng-src="{{tomedia(item.picurl) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 7rem;">
					</a>
				</div>
			</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
			</style>
			<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
				<div class="fui-swipe-bullet" ng-repeat="item in pagedata.storeset.hdps" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
		</div>
		</div>
		<div ng-if="pagedata.groups.length>0" class="fui-icon-group noborder radius" style="margin:0.2rem 0.3rem;margin-top:0.5rem">
			<div class="fui-cell-scroll">
				<div ng-class="{'item':1,'active':pagedata.params.cid==0}" style="width:3.5rem" href="javascript:;" ng-click="pagedata.params.cid=0;pagedata.getlist('merch');">
					<div class="icon"><img src="../core/resource/images/diy/icon/icon-1.png"></div>
					<div ng-class="{'text':1,'active':pagedata.params.cid==0}">全部</div>
				</div>
				<div ng-class="{'item':1,'active':pagedata.params.cid==item.id}" style="width:3.5rem" ng-repeat="item in pagedata.groups" href="javascript:;" ng-click="pagedata.params.groupid=item.id;pagedata.getlist();">
					<div class="icon"><img ng-src="{{tomedia(item.image) || '../core/resource/images/diy/icon/icon_goods.png'}}"></div>
					<div class="text">{{item.title}}</div>
				</div>
			</div>
		</div>
		<div ng-include="sys_html('shop/_storelist')"></div>
    </div>
</div>
<div ng-include="sys_html('store/_area')"></div>
<div ng-include="sys_html('_footer')"></div>
<script type="text/javascript">
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>